package com.sykj.bsc.rwl.po;
/**
 * 
 * @ClassName:  Ztree   
 *@Description: 权限树
 * @author 任文龙
 ** @date:   2018年8月21日 上午8:57:17
 */
public class Ztree {
	private  int id;//父id
	private int pId;//对应的父id
	private String name;//权限名称
	private boolean checked;//是否选中
	private boolean open;//是否展开
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getpId() {
		return pId;
	}
	public void setpId(int pId) {
		this.pId = pId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	public boolean isOpen() {
		return open;
	}
	public void setOpen(boolean open) {
		this.open = open;
	}
	@Override
	public String toString() {
		return "Ztree [id=" + id + ", pId=" + pId + ", name=" + name + ", checked=" + checked + ", open=" + open + "]";
	}
}
